<template>
    <el-config-provider :locale="locale">
        <div>
            <router-view/>
        </div>
    </el-config-provider>
</template>


<script>
import { ElConfigProvider } from 'element-plus'
import  zhCn from 'element-plus/lib/locale/lang/zh-cn'

export default {
  name:"App",
  components:{
      [ElConfigProvider.name] : ElConfigProvider,

  },
    data() {
      return {
          locale: zhCn,
      }
    }
}
</script>

<style>
.icon {
width: 20px;
height: 20px;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
margin-right: 5px;
}

</style>
